package com.eshop.modules.activity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class StoreCouponUserVo implements Serializable
{
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("优惠券发放记录ID")
    private Long id;
    @ApiModelProperty("优惠券名称")
    private String couponTitle;
    @ApiModelProperty("优惠券的面值")
    private Double couponPrice;
    @ApiModelProperty("最低消费多少金额可用优惠券")
    private Double useMinPrice;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("优惠券结束时间")
    private Date endTime;
    @ApiModelProperty("优惠券类型 0通用券 1商品券 2内部券")
    private Integer type;
    @ApiModelProperty("优惠产品ID")
    private String productId;
    
    public Long getId() {
        return this.id;
    }
    
    public String getCouponTitle() {
        return this.couponTitle;
    }
    
    public Double getCouponPrice() {
        return this.couponPrice;
    }
    
    public Double getUseMinPrice() {
        return this.useMinPrice;
    }
    
    public Date getEndTime() {
        return this.endTime;
    }
    
    public Integer getType() {
        return this.type;
    }
    
    public String getProductId() {
        return this.productId;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setCouponTitle(final String couponTitle) {
        this.couponTitle = couponTitle;
    }
    
    public void setCouponPrice(final Double couponPrice) {
        this.couponPrice = couponPrice;
    }
    
    public void setUseMinPrice(final Double useMinPrice) {
        this.useMinPrice = useMinPrice;
    }
    
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    public void setEndTime(final Date endTime) {
        this.endTime = endTime;
    }
    
    public void setType(final Integer type) {
        this.type = type;
    }
    
    public void setProductId(final String productId) {
        this.productId = productId;
    }
}
